﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace XGame.Graphics
{
    class Frame : Sprite
    {
        private float duration;

            public float Duration
            {
                get { return duration; }
                set { duration = value; }
            }
            public Frame(Texture2D sprite, Game game)
                : base(sprite, game)
            {

            }

            public Frame(Sprite sprite, Game game)
                : base(game)
            {
                this = sprite;// I wonder If I can actually do that....
            }
   

            public override void Update(GameTime gameTime)
            {
                base.Update(gameTime);
            }

            public override void Draw(GameTime gameTime)
            {
                
                base.Draw(gameTime);
            }

        public static Frame  operator == (Frame sprite)
        {

        }

    }
}
